//
//  SYTopicTableViewCell.m
//  装修管家
//
//  Created by 千锋 on 16/1/20.
//  Copyright (c) 2016年 IOS1503薛凯. All rights reserved.
//

#import "SYTopicTableViewCell.h"
#import "UIImageView+WebCache.h"
@implementation SYTopicTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)relayoutWithModel:(SYFirstModel *)model{
    [self.imageview sd_setImageWithURL:[NSURL URLWithString:model.filename]];
    NSLog(@"%@",self.imageview.bounds);
    self.title.text=model.title;
    self.context.text=model.summary;
    self.datetitle.text=model.puttime;
    [self.watch setTitle:model.click forState:UIControlStateNormal];
}
@end
